<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title></title>
    <script src="${_imageConfig.domain}/image/api/js/jquery.min.js" type="text/javascript"></script>
<#--    <script>
        if(!$){
            document.write('<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.4.min.js" type="text/javascript"></script>')
    }
    </script>-->
    <script type="text/javascript">
        <#if error??>
        alert('${error}');
        <#else>
        parent.document.getElementById('uploadImgPathAmp${uploadNum}').value='${uploadPath}';
        var imgSrc = parent.document.getElementById('preAmpImg${uploadNum}');
        $(imgSrc).css("width","90");
        $(imgSrc).css("height","90");
        $(imgSrc).attr("src","${uploadPath}?d="+new Date()*1);
        </#if>
    </script>
</head>
<body>
</body>
</html>